<?php
abstract class XA_Table_Field {

	public $position;
	public $label;
	public $name;
	public $class_list = array();


	abstract public function out($row);


	public function getOutput($row) {
		return $this->out($row);
	}


	public function __construct($name, $label) {
		$this->name = $name;
		$this->label = $label;
		$this->class_list[] = $name;
	}


	public function addClass($class) {
		$this->class_list[] = $class;
	}
}
